#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crtdbg.h>
#include <assert.h>
#include <string.h>

#include "hash_object.h"
#include "new.h"
#include "hash_list.h"
#include "hash.h"
#include "QMLObject.h"


#define _CRTDBG_MAP_ALLOC




void main()
{
	FILE * inFile = NULL;
	struct QMLObject *test;
	inFile = fopen("test1.txt", "r");
	test = new(QMLObject, 10, NULL, "id width height color type");
	Parse(inFile, test);
	Draw(test);
	delete(test);
	fclose(inFile);
	system("PAUSE");
	_CrtDumpMemoryLeaks();
}